package com.guigu.tms.commons.aggregation.feign;

import com.guigu.tms.commons.aggregation.entity.Order;
import com.guigu.tms.commons.aggregation.entity.OrderClassifyOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "tms-aggregation",path = "/aggregation/orderClassifyOrder",contextId = "LizzApi1")
public interface OrderClassifyOrderFeign {

    @GetMapping("/ShowOrderClassifyOrder")
    List<OrderClassifyOrder> ShowOrderClassifyOrder(@RequestParam("tripsId") String tripsId,@RequestParam("end") String end);
}
